package com.monkey.demo.convert;

import com.monkey.demo.entity.SysUser;
import com.monkey.demo.entity.req.SysUserReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper
public interface SysUserConvert {
    SysUserConvert INSTANCE = Mappers.getMapper(SysUserConvert.class);
    //@Mapping(source = "age",target = "ageTets")
    SysUser sysUserReqConvertSysUser(SysUserReq req);
}
